<?php
namespace app\service;

use app\api\controller\Timing;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\Cache;
use think\Log;
use think\Exception;
use think\Db;

class SettlementWheatIncome extends Command
{

    protected function configure()
    {
        $this->setName('settlement_wheat_income');
    }
    protected function execute(Input $input, Output $output)
    {
        $output->writeln('结算连麦收益开始：'.date('Y-m-d H:i:s'));
        $timing =  new Timing();
        $timing->lianmai_pay_money();
        $output->writeln('结算连麦收益结束：'.date('Y-m-d H:i:s'));
    }
}